package com.example.ytyproject.entity;

import java.math.BigDecimal;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

import com.example.ytyproject.entity.vo.PageInfoVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 商铺会员管理
 * </p>
 *
 * @author author
 * @since 2024-05-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("cj_shop_member")
@ApiModel(value="ShopMember对象", description="商铺会员管理")
public class ShopMember extends PageInfoVo implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private String id;

    @ApiModelProperty(value = "会员名称")
    private String name;

    @ApiModelProperty(value = "手机号码")
    private String telephone;

    @ApiModelProperty(value = "商铺id")
    private String shopId;

    @ApiModelProperty(value = "充值金额")
    private BigDecimal rechargeAmount;

    private LocalDateTime createDate;

    private String createId;

    private LocalDateTime updateDate;

    private String updateId;

    @ApiModelProperty(value = "是否删除")
    private Boolean deleted;

    @TableField(exist = false)
    private String shopName;
}
